import axios from '~/config/axios'

/**
 * 获取验证码
 * @param {*} json 
 */
export function VerifyPhone(json) {
    const url = '/wap/user/verifyPhone'

    return axios.post(url, json)
}

/**
 * 登录
 * @param {*} json 
 */
export function PhoneLogin(json) {
    const url = '/login'

    return axios.post(url, json)
}